package com.ruoyi.system.service;

import com.ruoyi.common.core.domain.entity.Smalluser;

import java.util.List;

public interface InstitutionUserService {
    //增加用户
    public boolean addItUser(Smalluser user);
    //删除用户
    public boolean removeUser(long suId);
    //修改用户
    public boolean editUser(Smalluser user);
    //查询本机构所以用户
    public List<Smalluser> selectUserList(long itId);
    //查询单个机构用户
    public Smalluser querySmalleruser(long suId);
    //多个属性查询本机构所有的用户
    public List<Smalluser> selectUser(Smalluser smalluser);
    //查询电话号码是否唯一
    public boolean checkPhoneUnique(Smalluser smalluser);
}
